<template>
  <Button @click="test">测试</Button>
</template>

<script setup>
import { Button } from "ant-design-vue";
import { useIpcRenderer } from "@vueuse/electron";
const ipcRenderer = useIpcRenderer();

const test = () => {
  ipcRenderer.send("test", 123);
};
</script>

<style></style>
